NewShape
TheNewShape
method creates a new empty shape object.
ODShape NewShape ();
- return value
- A reference to the newly created shape, or
kODNULL
if an error occurred.DISCUSSION
This method initializes the reference count of the returned shape. When you have finished using that shape, you should call itsRelease
method.EXCEPTIONS
kODErrOutOfMemory
- There is not enough memory to create a new shape.
SEE ALSO
Table 11-1 on page 466 in OpenDoc Programmer's Guide.
Main | Page One | What's New | Apple Computer, Inc. | Find It | Contact Us | Help